package hcn.protocol.ods.paymentXML;

import lombok.*;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @Author:FangZhiyi
 * @Description
 * @Data Created in 2020/11/6 18:16
 * @Moddified By:
 */
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetFeeDetailXMLReq implements Serializable {
    /*机构id*/
    private String VisitOrganization;
    /*患者在 his 中的唯一标识*/
    private String SourcePatientId;
    /*发票号*/
    private String InvoiceCode;
    /*结算标识*/
    private String PaymentNumber;

    public String getVisitOrganization() {
        return VisitOrganization;
    }

    public void setVisitOrganization(String visitOrganization) {
        VisitOrganization = visitOrganization;
    }

    public String getSourcePatientId() {
        return SourcePatientId;
    }

    public void setSourcePatientId(String sourcePatientId) {
        SourcePatientId = sourcePatientId;
    }

    public String getInvoiceCode() {
        return InvoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        InvoiceCode = invoiceCode;
    }

    public String getPaymentNumber() {
        return PaymentNumber;
    }

    public void setPaymentNumber(String paymentNumber) {
        PaymentNumber = paymentNumber;
    }

    @Override
    public String toString() {
        return "{\"GetFeeDetailXMLReq\":{"
                + "\"VisitOrganization\":\""
                + VisitOrganization + '\"'
                + ",\"SourcePatientId\":\""
                + SourcePatientId + '\"'
                + ",\"InvoiceCode\":\""
                + InvoiceCode + '\"'
                + ",\"PaymentNumber\":\""
                + PaymentNumber + '\"'
                + "}}";

    }
}
